//  LeadViewController.m
//  LCKJDS
//  Created by 胡品 on 16/5/23.
//  Copyright © 2016年 LCKJ. All rights reserved

#import "LeadViewController.h"
#import "Leadsv.h"

@interface LeadViewController ()
@property(nonatomic,strong)UIScrollView * sview;

@end

@implementation LeadViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    Leadsv * lead=[[Leadsv alloc]init];
    
    lead.frame = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height);
    [self.view addSubview:lead];
    
    NSMutableArray * arrayy=[[NSMutableArray array]init];
    
    for (int i=1; i<=5; i++) {
        
        UIImage * imagee=[UIImage imageNamed:[NSString stringWithFormat:@"LeadIMap%d",i]];
        
        [arrayy addObject:imagee];
    }
    [lead preshImage:arrayy];
}


@end
